package com.elias.share.config.bean;

import lombok.Data;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Log4j2
@Component
public class SystemInfo {

    @Value("#{T(java.lang.Boolean).valueOf('${system.enable}')}")
    private boolean enable;

    @Value("${system.secret}")
    private String secret;

}
